/**
 * 
 */
package com.xbang.attendance.web.action.delivery.tmpdelivery;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.demo2do.lighturl.annotation.Action;
import com.xbang.core.struts.support.BaseActionSupport;

/**
 * @author Administrator
 * 
 */
public class TmpDeliveryManager extends BaseActionSupport {

	private static final long serialVersionUID = 1661650423526773669L;

	private final static Log logger = LogFactory.getLog(TmpDeliveryManager.class);

	private Integer id;

	@Action("/delivery/tmpdelivery/add")
	public String add() throws Exception {
		return "view";
	}

	@Action("/delivery/tmpdelivery/${id}/edit")
	public String edit() throws Exception {
		return "view";
	}

	@Action("/delivery/tmpdelivery/${id}/view")
	public String view() throws Exception {
		return "view";
	}

	@Action("/delivery/tmpdelivery/import")
	public String doImport() throws Exception {
		return "import";
	}

	@Action("/delivery/tmpdelivery/import/do")
	public String importDelivery() throws Exception {
		return "r:/delivery/tmpdelivery";
	}

	@Action("/delivery/tmpdelivery/add/do")
	public String doAdd() throws Exception {
		return "r:/delivery/tmpdelivery";
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	public String update() throws Exception {
		return "r:/delivery/tmpdelivery";
	}

}
